home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / mom_mania.swf / scripts / UINotifications.as < prev   
Text File  |  2011-08-19  |  589b  |  29 lines

  1. package
  2. {
  3.    import flash.events.Event;
  4.    import mx.flash.UIMovieClip;
  5.    
  6.    public dynamic class UINotifications extends UIMovieClip
  7.    {
  8.        
  9.       
  10.       public function UINotifications()
  11.       {
  12.          super();
  13.          addFrameScript(118,frame119,238,frame239);
  14.       }
  15.       
  16.       function frame239() : *
  17.       {
  18.          this.dispatchEvent(new Event("onTimeUpAlertFinished"));
  19.          stop();
  20.       }
  21.       
  22.       function frame119() : *
  23.       {
  24.          stop();
  25.          this.dispatchEvent(new Event("onEndLevelAlertFinished"));
  26.       }
  27.    }
  28. }
  29.